package com.njym.java.security.app.mapper;

import com.njym.java.security.app.entity.FamilyRelationship;
import com.njym.java.security.app.entity.FamilyRelationshipVo;
import com.njym.java.security.app.entity.FamilyType;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

/**
 * 
 * 
 * @author lijie
 * @email 717057076@qq.com
 * @date 2019-12-18 17:42:40
 */
public interface FamilyRelationshipMapper extends Mapper<FamilyRelationship> {

     List<FamilyType> getFamilyName(@Param("userId")Integer userId);


    /**
     * 查询家庭成员
     * @param familyTypeId
     * @return
     */
    List<FamilyRelationshipVo> query(@Param("familyTypeId") Integer familyTypeId);
}
